<?php

namespace App\model;

use Illuminate\Database\Eloquent\Model;

/**
 * App\ParkBaner
 *
 * @property int $id
 * @property string $title
 * @property string $content
 * @property int $park_id
 * @property \Illuminate\Support\Carbon $created_at
 * @property \Illuminate\Support\Carbon $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ParkBaner whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ParkBaner whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ParkBaner whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ParkBaner whereParkId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ParkBaner whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ParkBaner whereUpdatedAt($value)
 * @mixin \Eloquent
 * @property-read mixed $image
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ParkBaner whereImage($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\ParkBaner newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\ParkBaner newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\ParkBaner query()
 */
class ParkBaner extends Model
{
    //
    protected  $table='park_baner';
    public function getImageAttribute($value)
    {
        if($value){
            return  $value;
        }
        return  $value;
    }
}
